<template>
  <div id="order">
      <OrderPc v-if="windowWidtn>1000"></OrderPc>
      <OrderMobile v-else></OrderMobile>
  </div>
</template>
<script>
import OrderPc from "@/components/OrderPc";
import OrderMobile from "@/components/OrderMobile";
export default {
  name: "order",
  components: { OrderPc, OrderMobile },
  data() {
    return {
      windowWidtn: 0
    };
  },
  created() {
    this.windowWidtn = parseInt(window.innerWidth);
  },
  mounted() {
    FastClick.attach(document.body);
  }
};
</script>
<style scoped>
.container-fluid {
  padding-top: 20px;
}
</style>

